const routes = [{
    path: '/login',
    name: 'login',
    component: _ => import('@/views/login')
},{
    path: '/',
    redirect: 'dashboard',
    component: _=> import('@/views/layout'),
    children: [{
        path: '/dashboard',
        name: 'dashboard',
        component: _=> import('@/views/home')
    }]
}]
export { routes }